-
Home
-
Tiered Pricing Table for WooCommerce
-
3.6.2
-
Code
-
Classes
- GlobalTieredPricingAddon
Total Complexity |
41 |
Dependencies |
7 |
Dependents |
1 |
Total lines |
182 |
Lines of code |
116 |
Logical lines of code |
68 |
Comment lines |
21 |
Methods |
12 |
Properties |
2 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getPrice() |
B |
47 |
17 |
34 |
addPricing() |
S |
54 |
7 |
22 |
adjustPrice() |
S |
68 |
3 |
7 |
run() |
S |
60 |
1 |
15 |
showMessageOnProductsTieredPricingTab() |
S |
71 |
2 |
6 |
adjustSalePrice() |
S |
74 |
2 |
4 |
adjustRegularPrice() |
S |
74 |
2 |
4 |
getCurrentUser() |
S |
68 |
2 |
7 |
getCurrentUserRoles() |
S |
68 |
2 |
8 |
getName() |
S |
79 |
1 |
3 |
getDescription() |
S |
79 |
1 |
3 |
getSlug() |
S |
82 |
1 |
3 |